
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>我的笔记</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Termux,Linux学习笔记，为了记笔记，又顺便学习了点hexo">
<meta property="og:type" content="website">
<meta property="og:title" content="我的笔记">
<meta property="og:url" content="https://gitee.com/superigbt_superigbt/superigbt_superigbt/index.html">
<meta property="og:site_name" content="我的笔记">
<meta property="og:description" content="Termux,Linux学习笔记，为了记笔记，又顺便学习了点hexo">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Frank.Li">
<meta name="twitter:card" content="summary">
  
    <link rel="alternative" href="/atom.xml" title="我的笔记" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
<link rel="stylesheet" href="/css/style.css">

  <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
  
<meta name="generator" content="Hexo 6.0.0"></head>
<body>
<div id="container">
  <div id="wrap">
    <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">我的笔记</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">首页</a>
        
          <a class="main-nav-link" href="/archives">按时间</a>
        
          <a class="main-nav-link" href="/about">关于我</a>
        
          <a class="main-nav-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94">摘抄，随笔</a>
        
          <a class="main-nav-link" href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90">开关电源</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//www.baidu.com/baidu" method="get" accept-charset="utf-8" class="search-form">
          <input type="search" name="word" maxlength="20" class="search-form-input" placeholder="Search">
          <input type="submit" value="" class="search-form-submit">
          <input name=tn type=hidden value="bds">
          <input name=cl type=hidden value="3">
          <input name=ct type=hidden value="2097152">
          <input type="hidden" name="si" value="gitee.com/superigbt_superigbt/superigbt_superigbt">
        </form>
      </div>
    </div>
  </div>
</header>
    <div class="outer">
      <section id="main">
  
    <article id="post-linux-calibrate-screen-colors" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/10/08/linux-calibrate-screen-colors/" class="article-date">
  <time datetime="2022-10-08T12:30:24.000Z" itemprop="datePublished">2022-10-08</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Linux/">Linux</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/10/08/linux-calibrate-screen-colors/">Ubuntu 屏幕颜色校准</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h6 id="一-采用DisplayCal软件。"><a href="#一-采用DisplayCal软件。" class="headerlink" title="一 采用DisplayCal软件。"></a>一 采用DisplayCal软件。</h6><h6 id="二-使用-xgamma命令实现"><a href="#二-使用-xgamma命令实现" class="headerlink" title="二 使用 xgamma命令实现"></a>二 使用 xgamma命令实现</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ xgamma -h <span class="comment">#查看帮助</span></span><br><span class="line">$ xgamma -gamma f a,b <span class="comment"># a与b的值是一个区间，从0.1到10之间。</span></span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/10/08/linux-calibrate-screen-colors/" data-id="cl923um7q00005uq552zqcy8g" class="article-share-link" data-share="baidu" data-title="Ubuntu 屏幕颜色校准">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux%E8%AE%BE%E7%BD%AE/" rel="tag">Linux设置</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-debootstrap2" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/10/07/debootstrap2/" class="article-date">
  <time datetime="2022-10-07T03:30:24.000Z" itemprop="datePublished">2022-10-07</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Linux/">Linux</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/10/07/debootstrap2/">debootstrap学习笔记2</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li> LD_PRELOAD，是个环境变量，用于动态库的加载，动态库加载的优先级最高，一般情况下，其加载顺序为LD_PRELOAD&gt;LD_LIBRARY_PATH&gt;/etc/ld.so.cache&gt;/lib&gt;/usr/lib。</li>
</ol>
<p>1.1 LD_PRELOAD运用总结</p>
<pre><code>定义与目标函数完全一样的函数，包括名称、变量及类型、返回值及类型等

将包含替换函数的源码编译为动态链接库

通过命令 export LD_PRELOAD=&quot;库文件路径&quot;，设置要优先替换动态链接库

如果找不替换库，可以通过 export LD_LIBRARY_PATH=库文件所在目录路径，设置系统查找库的目录

替换结束，要还原函数调用关系，用命令unset LD_PRELOAD 解除

想查询依赖关系，可以用ldd 程序名称
</code></pre>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/10/07/debootstrap2/" data-id="cl8zccx6r0001qkq540613uvd" class="article-share-link" data-share="baidu" data-title="debootstrap学习笔记2">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/" rel="tag">Linux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-debootstrap1" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/10/06/debootstrap1/" class="article-date">
  <time datetime="2022-10-06T13:30:24.000Z" itemprop="datePublished">2022-10-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Linux/">Linux</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/10/06/debootstrap1/">debootstrap学习笔记1</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h6 id="1-简介"><a href="#1-简介" class="headerlink" title="1. 简介"></a>1. 简介</h6><p>        debootstrap是debian与ubuntu下都有的一个工具，用来构建一套基本的系统(根文件系统)。生成的目录符合Linux文件系统标准(FHS)，即包含了/boot、/etc、/bin、/usr等等目录，但它比发行版本的Linux体积小很多，当然功能也没那么强大，因此只能说是“基本的系统”。fedora下(centos亦可用)有类似功能的工具：febootstrap。</p>
<h6 id="2-安装-与-命令行格式"><a href="#2-安装-与-命令行格式" class="headerlink" title="2. 安装 与 命令行格式"></a>2. 安装 与 命令行格式</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install debootstrap</span><br><span class="line"><span class="comment"># 可加参数指定源</span></span><br><span class="line">sudo debootstrap --arch [平台] [发行版本代号] [目录] [源]</span><br></pre></td></tr></table></figure>

<p>当前debootstrap支持的发行版本可以在/usr/share/debootstrap/scripts查看</p>
<p><strong>2.1 命令行示例</strong></p>
<p><mark>sudo debootstrap –arch amd64 jammy /mnt</mark></p>
<p>构建x86(64位)平台ubuntu最新发行版22.04(代号为jammy)的基本系统，存放到/mnt目录</p>
<p><mark>sudo debootstrap –arch amd64 buster ./</mark></p>
<p>构建amd64平台debian最新发行版debian10(代号为buster)的基本系统，存放到当前目录下</p>
<p>以上两行例子都没有指定源，那么就是默认了。<br>输入上述命令后，就会从网络下载相关的文件。如果出现以下情提示则表示成功</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">I: Base system installed successfully.</span><br></pre></td></tr></table></figure>
<h6 id="3-用debootstrap构建编译环境–amd64架构debian10案例"><a href="#3-用debootstrap构建编译环境–amd64架构debian10案例" class="headerlink" title="3. 用debootstrap构建编译环境–amd64架构debian10案例"></a>3. 用debootstrap构建编译环境–amd64架构debian10案例</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line"><span class="comment"># 创建环境进入</span></span><br><span class="line">mkdir buster&amp;<span class="built_in">cd</span> buster</span><br><span class="line">sudo debootstrap --arch amd64 buster ./buster1</span><br><span class="line">sudo chroot ./buster1</span><br><span class="line"></span><br><span class="line"><span class="comment"># 修改云源</span></span><br><span class="line">sudo vim /etc/apt/sources.list <span class="comment"># 改为阿里云或科大，或清华云</span></span><br><span class="line"><span class="comment"># 改完后保存退出vim</span></span><br><span class="line">apt-get update</span><br><span class="line"></span><br><span class="line"><span class="comment"># 部分版本是没有装编译工具包的</span></span><br><span class="line">apt-get install dpkg-dev</span><br><span class="line">apt-get install debhelper</span><br><span class="line"></span><br><span class="line"><span class="comment"># 下载编译源码</span></span><br><span class="line"><span class="built_in">cd</span> /tmp</span><br><span class="line">apt-get <span class="built_in">source</span> redis</span><br><span class="line">apt-get build-dep redis</span><br><span class="line"><span class="built_in">cd</span> redis.x.x</span><br><span class="line">dpkg-buildpackage</span><br><span class="line">find ../*.deb</span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/10/06/debootstrap1/" data-id="cl8zccx6m0000qkq5e03ieeq0" class="article-share-link" data-share="baidu" data-title="debootstrap学习笔记1">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/" rel="tag">Linux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-ubuntu-install-wine" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/10/06/ubuntu-install-wine/" class="article-date">
  <time datetime="2022-10-06T03:30:24.000Z" itemprop="datePublished">2022-10-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Linux/">Linux</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/10/06/ubuntu-install-wine/">ubuntu安装Wine</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="一-安装wine"><a href="#一-安装wine" class="headerlink" title="一 安装wine"></a>一 安装wine</h4><ol>
<li><p>开启32位架构的支持</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo dpkg --add-architecture i386</span><br></pre></td></tr></table></figure></li>
<li><p>下载添加wine的仓库密钥</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-build</span><br><span class="line">s/winehq.key (https://dl.winehq.org/wine-builds/winehq.key)</span><br></pre></td></tr></table></figure></li>
<li><p>添加wine的仓库(适合Ubuntu22.04，别的ubuntu版本请在wine官网上找)</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubunt</span><br><span class="line">u/dists/jammy/winehq-jammy.sources (https://dl.winehq.org/wine-builds/ubuntu/d</span><br><span class="line">ists/jammy/winehq-jammy.sources)</span><br></pre></td></tr></table></figure></li>
<li><p>更新并安装wine的包</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">sudo apt update</span><br><span class="line">sudo apt install --install-recommends winehq-stable <span class="comment">#稳定分支</span></span><br><span class="line"><span class="comment"># 或者</span></span><br><span class="line">sudo apt install --install-recommends winehq-devel  <span class="comment">#开发分支</span></span><br></pre></td></tr></table></figure></li>
</ol>
<h4 id="二-安装wine依赖环境-很重要"><a href="#二-安装wine依赖环境-很重要" class="headerlink" title="二 安装wine依赖环境(很重要)"></a>二 安装wine依赖环境(很重要)</h4><ol>
<li><p>安装winetricks，Wine的辅助配置工具，超级便利</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt install --install-recommends winetricks</span><br></pre></td></tr></table></figure></li>
<li><p>安装字体，解决Wine及初始配置界面乱码</p>
<p>将以下 simfang.ttf 、 simhei.ttf 、 simkai.ttf 、simsun.ttc 字体文件复制到 Wine 安装路径下的字体目录 /opt/wine-stable/share/wine/fonts 即可。如果有别的需求，也可以将更多字体复制到该目录下，比如微软雅黑字体文件 msyh.ttf 、 msyhbd.ttf。</p>
</li>
<li><p>安装Wine依赖，终端下执行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ winetricks</span><br></pre></td></tr></table></figure></li>
</ol>
<p>初始执行 winecfg或 wine 或 winetricks ,会要求下载安装 wine-mono 和 wine-gecko ,这是一个相对漫长的过程,并且中途还可能出错,有可能需要反复多次才能下载安装成功。这些依赖文件是下载安装在: ~/.cache/wine 目录下的。</p>
<p>然后会出现界面，选择默认容器，安装配置，用鼠标选择</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">corefonts colorprofile</span><br><span class="line">fontfix fontsmooth-gray fontsmooth-rgb fontsmooth-bgr</span><br><span class="line">gdiplus</span><br><span class="line">d3dx9</span><br><span class="line">riched20 riched30 # 很重要，关系到输入中文时的输入框问题</span><br><span class="line">mfc40 mfc42</span><br><span class="line">vcrun6 vb6run vcrun2003 vcrun2005 vcrun2008</span><br><span class="line">msxml3 msxml4 msxml6</span><br></pre></td></tr></table></figure>

<p>也可以在终端下用命令行形式安装，效率更高。</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">$ winetricks corefonts colorprofile</span><br><span class="line">$ winetricks fontfix fontsmooth-gray fontsmooth-rgb fontsmooth-bgr</span><br><span class="line">$ winetricks gdiplus</span><br><span class="line">$ winetricks d3dx9</span><br><span class="line">$ winetricks riched20 riched30</span><br><span class="line">$ winetricks mfc40 mfc42</span><br><span class="line">$ winetricks vcrun6 vb6run vcrun2003 vcrun2005 vcrun2008</span><br><span class="line">$ winetricks msxml3 msxml4 msxml6</span><br></pre></td></tr></table></figure>

<p>这些依赖,将会下载安装到: ~/.cache/winetricks 目录下。</p>
<ol start="4">
<li>Wine配置<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ winecfg</span><br></pre></td></tr></table></figure>

就打开了Wine配置窗口，其实在winetricks中也能打开。</li>
</ol>
<h5 id="三-安装微信"><a href="#三-安装微信" class="headerlink" title="三 安装微信"></a>三 安装微信</h5><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">到腾讯网站上下载微信windows版的安装软件weixin*.exe，然后鼠</span><br><span class="line">标点击它，右键，选择wine安装就行</span><br></pre></td></tr></table></figure>

<p>更推荐的方式是以 Wine 添加 - 删除程序<br>去完成,如下:<br>终端下执行: wine uninstaller</p>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/10/06/ubuntu-install-wine/" data-id="cl8zccx810009qkq5ahl679m6" class="article-share-link" data-share="baidu" data-title="ubuntu安装Wine">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Linux/" rel="tag">Linux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-excerpt6" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/09/13/excerpt6/" class="article-date">
  <time datetime="2022-09-13T06:30:00.000Z" itemprop="datePublished">2022-09-13</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94/">摘抄与随笔</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/09/13/excerpt6/">摘抄2---中国真心不容易</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li><p>突然觉得中国真心不容易，国力要和美国比，福利要和北欧比，环境要和加拿大比，机械要和德国比，手机要和苹果比，联想要和IBM比，长城要和通用丰田比，龙芯要和Intel比， C919要和波音比…… 一个国家的制造vs整个世界全部高端！ 但我不知道有哪个国家建国60多年靠自己的努力达到中国目前的高度的?！ 不偏激，客观评论。不想赞美谁，也不想诋毁谁，只想说一句：人无完人，事无完美。 我记着有一句话：我国的武器再不好也是保护你的，外国的武器再好也是揍你的。 这世界也有太多人张嘴就是“人家外国人最棒，中国人则完全不行。”说得好像他自己，他爹妈都不是中国人一样。　 当很多人有房有车，有钱有闲，享受和平时代时，却跟风喷中国，媚外国。是谁洗了你的脑？难道非要中国象乌克兰、伊拉克、利比亚、叙利亚…… 乱了，失去这一切才醒悟？ 别喷我们的祖国了，她知道有不足的地方，她也正在努力追赶与弥补。</p>
</li>
<li><p>甘蔗哪有两头甜。想要钱多又没有压力，想要稳定安逸钱又不能少，这样的工作地球上哪能找到。能发挥自己潜能、专业长处，且收入稳中有升的工作就是好工作。</p>
</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/09/13/excerpt6/" data-id="cl7zulc6j001peiq53o9z5kaf" class="article-share-link" data-share="baidu" data-title="摘抄2---中国真心不容易">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E8%B6%A3%E8%A8%80/" rel="tag">趣言</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-SP-primary -filter-capacitor" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/06/06/SP-primary%20-filter-capacitor/" class="article-date">
  <time datetime="2022-06-06T08:13:08.000Z" itemprop="datePublished">2022-06-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90/">开关电源</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/06/06/SP-primary%20-filter-capacitor/">开关电源初级侧滤波高压电容计算</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h3 id="开关电源初级滤波大电解电容的计算"><a href="#开关电源初级滤波大电解电容的计算" class="headerlink" title="开关电源初级滤波大电解电容的计算"></a>开关电源初级滤波大电解电容的计算</h3><p>开关电源的初级滤波电容，主要影响电源的输出低频交流纹波与保持时间。滤波电容越大，电容器上的最小输入电压Vin_min越高，就可以输出较大的功率的电源。输入电解电容的计算方法，以下为举例说明。</p>
<h6 id="条件：假设全电压输入，输出要求为12V，2A"><a href="#条件：假设全电压输入，输出要求为12V，2A" class="headerlink" title="条件：假设全电压输入，输出要求为12V，2A_"></a>条件：假设全电压输入，输出要求为12V，2A_</h6><ol>
<li><p>输出功率：Pout = 12V * 2A=24W</p>
</li>
<li><p>输入功率：假设转效率为80%，则输出功率为24W，则 Pin=Pout/80%=30W</p>
</li>
<li><p>输入最小直流电压计算，按最小输入交流电压为90Vzc，则最小输入直流电压为： Vin=90Vzc*1.414=127Vdc</p>
</li>
<li><p>负载直流电流为： I=Pin/Vin=30W/127Vdc=0.236A</p>
</li>
<li><p>电流等级要求高时，可考虑以下参数推算负载直流电流，Vin_min=90*1.414-30(直流纹波电压)=97Vdc，这里的最大负载直流电流为：Imax=Pin/Vin_min=30W/97Vdc=0.309A</p>
</li>
<li><p>设计允许30V的直流纹波电压deltaV=30V,</p>
</li>
<li><p>设计电容要维持电压的时间为半周期t，开关频率按60KHz，则一个周期T=1/65KHz=15.38ms，则半周期为t=8ms</p>
</li>
<li><p>计算电容值 C=I*t/deltV=0.236 * 8/30/1000=62.9uF，如果把Imax代入，则C=82.4uF</p>
</li>
<li><p>62uH在常用电容47-82uH之间，因考虑成本问题。 故实际选择电容量47uF.</p>
</li>
<li><p>因最大输入交流电压为264Vac，则最高直流电压为Vdc_max=264*1.414=373Vdc，所以选择耐压400Vdc的电解电容，此登记的电容有95%的裕量. </p>
</li>
<li><p>开关源元器件温升一般较高，通常选用105℃电容器，在特殊情况无法克服温升时可选用125℃电容器，故选用47uF,400v, 105℃电解电容器可以满足要求(在实际使用时还考虑装机构尺寸，体积大小散热环境好坏等)</p>
</li>
<li><p>电容器的承受的纹波电流值决定电容器的温升,进而决定电容器的寿命.(电容器的最大纹波电流值与其体积,材质有关.体积越大散热越好耐受纹波电流值越高)故在选用电容器要考虑实际纹波电流值＜电容器的最大纹波电流值</p>
</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/06/06/SP-primary%20-filter-capacitor/" data-id="cl7zulc5j0005eiq50k5jcg1g" class="article-share-link" data-share="baidu" data-title="开关电源初级侧滤波高压电容计算">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90%E5%9F%BA%E7%A1%80/" rel="tag">开关电源基础</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-streamlit-7" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/06/05/streamlit-7/" class="article-date">
  <time datetime="2022-06-05T15:00:00.000Z" itemprop="datePublished">2022-06-05</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/python%E5%AD%A6%E4%B9%A0/">python学习</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/06/05/streamlit-7/">streamlit学习笔记七-----与AG Grid的结合</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>以前把数据读出来并展示，可用<u>st.table()</u> 或 <u>st.dataframe() </u>来展示，但是如果想在表格上来点花活，比如直接编辑，排序，查找之类的，还要写额外的代码。好在，streamlit的作者引入了AG Grid。<strong>AG Grid</strong>是一个<strong>功能齐全且高度可定制的JavaScript数据网格</strong>。它提供了出色的性能，不需要第三方依赖，并且可以与所有主要的JavaScript框架流畅地集成</p>
<h6 id="1-安装"><a href="#1-安装" class="headerlink" title="1 安装"></a>1 安装</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ pip install streamlit-aggrid</span><br></pre></td></tr></table></figure>

<h6 id="2-例子"><a href="#2-例子" class="headerlink" title="2. 例子"></a>2. 例子</h6><figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> st_aggrid <span class="keyword">import</span> AgGrid</span><br><span class="line"><span class="keyword">import</span> pandas <span class="keyword">as</span> pd</span><br><span class="line"></span><br><span class="line">df = pd.read_csv(<span class="string">&#x27;产品列.csv&#x27;</span>)</span><br><span class="line">AgGrid(df)  <span class="comment"># 只展示表格</span></span><br></pre></td></tr></table></figure>

<p>执行 $ streamlit run example.py,就可看到表格了，这里只把excel数据读出来，做了展示，如果想进行编辑的话，则改动一下。</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> st_aggrid <span class="keyword">import</span> AgGrid</span><br><span class="line"><span class="keyword">import</span> pandas <span class="keyword">as</span> pd</span><br><span class="line"></span><br><span class="line">df = pd.read_csv(<span class="string">&#x27;产品列.csv&#x27;</span>)</span><br><span class="line">new_df = AgGrid(df,editable=<span class="literal">True</span>) <span class="comment"># 可编辑，并把编辑后的值存入new_dr中</span></span><br></pre></td></tr></table></figure>

<p>编辑可指示只编辑其中一列，一个单元等，需要设置</p>
<h5 id="3-一些参数"><a href="#3-一些参数" class="headerlink" title="3 一些参数"></a>3 一些参数</h5><p> AgGrid(datafram-格式数据,</p>
<p>gridOption—–操作说明，格式为字典格式</p>
<p>height=整数—–高度，默认为400</p>
<p>width=整数——宽度，2.0版己取消宽度设置</p>
<p>fit_columns_on_grid_load—–网格宽度的列宽自适应。默认为False。</p>
<p>update_mode—-定义了网格如何装结果发回给streamlit，必须是一个字符串。一个或以下的组合</p>
<p>data_return_mode—-定义如何从客户组件检索数据</p>
<p>    DataReturnMode.AS_INPUT–&gt;返回输入的网格数据</p>
<p>    DataReturnMode.FILTERED—&gt;返回过滤后的网格数据，包括单元版本</p>
<p>    DataReturnMode.FILTERED_AND_SORTED—&gt;返回过滤和排序的网格数据</p>
<p>allow_unsafe_jscode—-允许在gridOptions中注入javascropt 代码，默认不行</p>
<p>enable_enterprise_modules—加载Ag-Grid企业模块，默认不加载</p>
<p>license_key—-企业模块的许可证密钥，默认无</p>
<p>try_to_convert_back_to_original_types—-尝试转换原始数据类型，默认为真</p>
<p>reload_data—-强制AgGrid使用api调用重新加载的数据，默认为不</p>
<p>theme—Ag-Grid的主题,    streamit—-&gt;默认streamlit主题    light——&gt;ag-grid的balham-light主题,    dark—-&gt;ag-grid的balham-黑色主题,   blue,   fresh,  material，缺省为light主题</p>
<p> )</p>
<h5 id="4-更多编辑示例，请见-更多例子"><a href="#4-更多编辑示例，请见-更多例子" class="headerlink" title="4. 更多编辑示例，请见 更多例子"></a>4. 更多编辑示例，请见 <a target="_blank" rel="noopener" href="https://streamlit-aggrid.readthedocs.io/en/docs/Examples.html">更多例子</a></h5>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/06/05/streamlit-7/" data-id="cl7zulc7t0042eiq56b51g7vr" class="article-share-link" data-share="baidu" data-title="streamlit学习笔记七-----与AG Grid的结合">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" rel="tag">streamlit 框架</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" rel="tag">机器学习</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-streamlit-6" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/06/05/streamlit-6/" class="article-date">
  <time datetime="2022-06-05T11:38:00.000Z" itemprop="datePublished">2022-06-05</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/python%E5%AD%A6%E4%B9%A0/">python学习</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/06/05/streamlit-6/">streamlit学习笔记六-----streamlit新版支持原生多页面</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="streamlit以前只支持单页面，要想多页面，也不是不行，但是需要点技巧。但是新版streamlit己经原生支持多页面了。方法很简单，如下："><a href="#streamlit以前只支持单页面，要想多页面，也不是不行，但是需要点技巧。但是新版streamlit己经原生支持多页面了。方法很简单，如下：" class="headerlink" title="streamlit以前只支持单页面，要想多页面，也不是不行，但是需要点技巧。但是新版streamlit己经原生支持多页面了。方法很简单，如下："></a>streamlit以前只支持单页面，要想多页面，也不是不行，但是需要点技巧。但是新版streamlit己经原生支持多页面了。方法很简单，如下：</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ pip install streamlit --upgrade <span class="comment">#先升级到最新版 streamlit</span></span><br><span class="line">$ mkidr pages <span class="comment">#建立子页面目录</span></span><br></pre></td></tr></table></figure>

<p>假设主页面的文档main_page.py如下：</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> streamlit <span class="keyword">as</span> st</span><br><span class="line"></span><br><span class="line">st.markdown(<span class="string">&quot;# Main page 🎈&quot;</span>)</span><br><span class="line">st.sidebar.markdown(<span class="string">&quot;# Main page 🎈&quot;</span>)</span><br></pre></td></tr></table></figure>

<p>_</p>
<p>在 pages目录下，建立pages2.py pages3.py ….，示便代码如下</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> streamlit <span class="keyword">as</span> st</span><br><span class="line"></span><br><span class="line">st.markdown(<span class="string">&quot;# Page 2 ❄️&quot;</span>)</span><br><span class="line">st.sidebar.markdown(<span class="string">&quot;# Page 2 ❄️&quot;</span>)</span><br></pre></td></tr></table></figure>

<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> streamlit <span class="keyword">as</span> st</span><br><span class="line"></span><br><span class="line">st.markdown(<span class="string">&quot;# Page 3 🎉&quot;</span>)</span><br><span class="line">st.sidebar.markdown(<span class="string">&quot;# Page 3 🎉&quot;</span>)</span><br></pre></td></tr></table></figure>

<p>只要执行 strreamlit run main_page.py，则自动在左侧栏出现page2与page3的链接，注意排序竟然是按文件名来排序的。_</p>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/06/05/streamlit-6/" data-id="cl7zulc7s003yeiq5ffr3g8tl" class="article-share-link" data-share="baidu" data-title="streamlit学习笔记六-----streamlit新版支持原生多页面">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" rel="tag">streamlit 框架</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" rel="tag">机器学习</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-excerpt5" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/05/15/excerpt5/" class="article-date">
  <time datetime="2022-05-15T08:30:00.000Z" itemprop="datePublished">2022-05-15</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94/">摘抄与随笔</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2022/05/15/excerpt5/">摘抄1---最可怕的是傲慢</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li>“最可怕的是傲慢”—–摘自小说《三体》</li>
<li>当你面临选择犹豫不决的时候，通常只有个原因“，穷”—-摘自”睡觉会变白”的网络小说</li>
<li>财富有可能亏出云，但知识阅历不会。—摘自“断刃天涯”的网络小说</li>
<li>弱小与无知从来都不是生存的障碍，傲慢才是。 </li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/05/15/excerpt5/" data-id="cl7zulc6h001neiq51t7uhz2m" class="article-share-link" data-share="baidu" data-title="摘抄1---最可怕的是傲慢">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E9%9A%8F%E7%AC%94/" rel="tag">随笔</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-ubuntu-suspend" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2022/03/09/ubuntu-suspend/" class="article-date">
  <time datetime="2022-03-09T08:30:00.000Z" itemprop="datePublished">2022-03-09</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/ubuntu%E7%BB%8F%E9%AA%8C/">ubuntu经验</a>
  </div>

  </div>
  <div class="article-inner">
    
    
    <div class="article-entry" itemprop="articleBody">
      
        <h5 id="linux-suspend-mode"><a href="#linux-suspend-mode" class="headerlink" title="linux suspend mode"></a>linux suspend mode</h5><p>    linux 有多种suspend模式，其中这里需要关注的是S3(suspend-to-ram)和S4(suspend-to-disk)模式，S3模式下仅有ram保持供电，恢复速度较快，而S4模式下会在休眠时将ram dump到磁盘中(放在专门的swap分区或者swap文件中)，休眠期间基本不消耗电力，唤醒时再从磁盘中将ram内容恢复出来，此时唤醒速度会慢于S3,具体时间取决于ram大小和ram与disk之间的传输性能。</p>
<p><mark>一般情况下S3模式已经足够,但希望较为彻底改善休眠续航的问题，则还是需要使用S4模式，即hibernate mode </mark></p>
<h5 id="1-确认S3模式可用"><a href="#1-确认S3模式可用" class="headerlink" title="1. 确认S3模式可用"></a>1. 确认S3模式可用</h5><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt install pm-utils</span><br><span class="line"></span><br><span class="line">$ pm-is-supported --<span class="built_in">suspend</span></span><br><span class="line"></span><br><span class="line">$ <span class="built_in">echo</span> $?</span><br><span class="line"></span><br><span class="line">0 <span class="comment"># 如果结果是0,则表示支持.</span></span><br><span class="line"></span><br><span class="line">$ sudo pm-suspend <span class="comment"># 直接进入S3休眠模式</span></span><br></pre></td></tr></table></figure>

<h5 id="2-确认S4模式可用"><a href="#2-确认S4模式可用" class="headerlink" title="2. 确认S4模式可用"></a>2. 确认S4模式可用</h5><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt install pm-utils</span><br><span class="line">$ pm-issupported --hibernate</span><br><span class="line">$ <span class="built_in">echo</span> $?</span><br><span class="line"><span class="comment"># 如果结是果是0,则表示支持</span></span><br><span class="line">$ sudo pm-hibernate <span class="comment"># 直接进入S4待机模式</span></span><br></pre></td></tr></table></figure>

<p>如果可以成功进入S4模式，则笔记本会自动息屏，同时按下电源键可以唤醒, 如果不能够成功休眠，使用</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo dmesg | grep PM</span><br></pre></td></tr></table></figure>

<p>应该可以查看是否进入<code>hibernate</code> 成功或者失败，如果显示fail，则需要使能S4模式</p>
<h5 id="3-使能S4待机模式"><a href="#3-使能S4待机模式" class="headerlink" title="3. 使能S4待机模式"></a>3. 使能S4待机模式</h5><p>    S4模式需要swap partition或者swap file的支持，目前新的ubuntu版本默认都是使用swap file，位于<code>/swapfile</code>， S4模式需要swapfile的大小不小于ram大小。</p>
<p>通过设置swapfile来使能S4模式，请看[通过设置swaptfile来使能hibernamte模式](<a target="_blank" rel="noopener" href="https://askubuntu.com/questions/6769/hibernate-and-resume-from-a-swap-file">Hibernate and resume from a swap file - Ask Ubuntu</a>)</p>
<p>完成后，再进行</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo pm-hibernate <span class="comment"># 进入hibernate验证。这时要按电源键开机。</span></span><br></pre></td></tr></table></figure>

<p>    如果成功了则</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ seervice systemd-hibernate start</span><br></pre></td></tr></table></figure>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2022/03/09/ubuntu-suspend/" data-id="cl7zulc970077eiq5al9vc6sj" class="article-share-link" data-share="baidu" data-title="">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ubuntu%E7%BB%8F%E9%AA%8C/" rel="tag">ubuntu经验</a></li></ul>

    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/10/">10</a><a class="extend next" rel="next" href="/page/2/">下一页 &amp;raquo;</a>
  </nav>
</section>
      
      <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">分类</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Linux/">Linux</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/VirtualBox/">VirtualBox</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/caddy/">caddy</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/cygwin/">cygwin</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/hexo/">hexo</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/linux%E6%A1%8C%E9%9D%A2/">linux桌面</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/mysql/">mysql</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/python%E5%AD%A6%E4%B9%A0/">python学习</a><span class="category-list-count">19</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/termux/">termux</a><span class="category-list-count">20</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/termux/caddy/">caddy</a><span class="category-list-count">1</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/ubuntu%E7%BB%8F%E9%AA%8C/">ubuntu经验</a><span class="category-list-count">12</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/win10/">win10</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BB%BA%E7%AB%99/">建站</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90/">开关电源</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BF%AB%E6%8D%B7%E9%94%AE/">快捷键</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%89%8B%E6%9C%BA%E7%94%B5%E8%84%91%E4%BA%92%E8%81%94/">手机电脑互联</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94/">摘抄与随笔</a><span class="category-list-count">10</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Anlinux/" rel="tag">Anlinux</a><span class="tag-list-count">10</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/LAMP/" rel="tag">LAMP</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux/" rel="tag">Linux</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux%E8%AE%BE%E7%BD%AE/" rel="tag">Linux设置</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy/" rel="tag">caddy</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy-PHP/" rel="tag">caddy+PHP</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy-Vtiger/" rel="tag">caddy+Vtiger</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddyV2/" rel="tag">caddyV2</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/code-server/" rel="tag">code-server</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/cygwin/" rel="tag">cygwin</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/flask%E6%A1%86%E6%9E%B6/" rel="tag">flask框架</a><span class="tag-list-count">10</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/fluxbox/" rel="tag">fluxbox</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo/" rel="tag">hexo</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E4%B8%BB%E9%A2%98/" rel="tag">hexo主题</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E5%AE%89%E8%A3%85/" rel="tag">hexo安装</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E9%83%A8%E7%BD%B2/" rel="tag">hexo部署</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/icewm/" rel="tag">icewm</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lamp-phpmyadmin/" rel="tag">lamp+phpmyadmin</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/linux/" rel="tag">linux</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lumina%E6%A1%8C%E9%9D%A2/" rel="tag">lumina桌面</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/markdown%E8%A1%A8%E6%A0%BC/" rel="tag">markdown表格</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mysql/" rel="tag">mysql</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/nodejs/" rel="tag">nodejs</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/openbox/" rel="tag">openbox</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/pandas%E5%AD%A6%E4%B9%A0/" rel="tag">pandas学习</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/qemu/" rel="tag">qemu</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sftp/" rel="tag">sftp</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ssh/" rel="tag">ssh</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" rel="tag">streamlit 框架</a><span class="tag-list-count">8</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux/" rel="tag">termux</a><span class="tag-list-count">12</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux-proot-distro/" rel="tag">termux-proot-distro</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux%E6%A1%8C%E9%9D%A2/" rel="tag">termux桌面</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ternux/" rel="tag">ternux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/tmux/" rel="tag">tmux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubtunu%E7%89%88%E6%9C%AC/" rel="tag">ubtunu版本</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu-reWifi/" rel="tag">ubuntu-reWifi</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu%E4%BF%AE%E6%94%B9DNS/" rel="tag">ubuntu修改DNS</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu%E7%BB%8F%E9%AA%8C/" rel="tag">ubuntu经验</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vim/" rel="tag">vim</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vscode/" rel="tag">vscode</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/wcode/" rel="tag">wcode</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/webbrowser-termux/" rel="tag">webbrowser termux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%9A%E5%AE%A2/" rel="tag">博客</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BB%BA%E7%AB%99/" rel="tag">建站</a><span class="tag-list-count">18</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90%E5%9F%BA%E7%A1%80/" rel="tag">开关电源基础</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%89%8B%E6%9C%BA%E6%8A%95%E5%B1%8F%E8%BD%AF%E4%BB%B6scrcpy/" rel="tag">手机投屏软件scrcpy</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%8D%A2%E6%BA%90/" rel="tag">换源</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%8E%A7%E5%88%B6%E5%8F%B0/" rel="tag">控制台</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%97%85%E6%B8%B8%E6%94%BB%E7%95%A5/" rel="tag">旅游攻略</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" rel="tag">机器学习</a><span class="tag-list-count">8</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9E%81%E7%AE%80%E6%A1%8C%E9%9D%A2/" rel="tag">极简桌面</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a><span class="tag-list-count">6</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" rel="tag">系统安装</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%BC%96%E8%BE%91%E5%99%A8/" rel="tag">编辑器</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">虚拟机</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%B6%A3%E8%A8%80/" rel="tag">趣言</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2/" rel="tag">远程桌面</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E9%9A%8F%E7%AC%94/" rel="tag">随笔</a><span class="tag-list-count">4</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签云</h3>
    <div class="widget tagcloud">
      <a href="/tags/Anlinux/" style="font-size: 18px;">Anlinux</a> <a href="/tags/LAMP/" style="font-size: 10px;">LAMP</a> <a href="/tags/Linux/" style="font-size: 13px;">Linux</a> <a href="/tags/Linux%E8%AE%BE%E7%BD%AE/" style="font-size: 10px;">Linux设置</a> <a href="/tags/caddy/" style="font-size: 11px;">caddy</a> <a href="/tags/caddy-PHP/" style="font-size: 10px;">caddy+PHP</a> <a href="/tags/caddy-Vtiger/" style="font-size: 10px;">caddy+Vtiger</a> <a href="/tags/caddyV2/" style="font-size: 10px;">caddyV2</a> <a href="/tags/code-server/" style="font-size: 10px;">code-server</a> <a href="/tags/cygwin/" style="font-size: 11px;">cygwin</a> <a href="/tags/flask%E6%A1%86%E6%9E%B6/" style="font-size: 18px;">flask框架</a> <a href="/tags/fluxbox/" style="font-size: 10px;">fluxbox</a> <a href="/tags/hexo/" style="font-size: 10px;">hexo</a> <a href="/tags/hexo%E4%B8%BB%E9%A2%98/" style="font-size: 10px;">hexo主题</a> <a href="/tags/hexo%E5%AE%89%E8%A3%85/" style="font-size: 10px;">hexo安装</a> <a href="/tags/hexo%E9%83%A8%E7%BD%B2/" style="font-size: 11px;">hexo部署</a> <a href="/tags/icewm/" style="font-size: 10px;">icewm</a> <a href="/tags/lamp-phpmyadmin/" style="font-size: 11px;">lamp+phpmyadmin</a> <a href="/tags/linux/" style="font-size: 14px;">linux</a> <a href="/tags/lumina%E6%A1%8C%E9%9D%A2/" style="font-size: 10px;">lumina桌面</a> <a href="/tags/markdown%E8%A1%A8%E6%A0%BC/" style="font-size: 10px;">markdown表格</a> <a href="/tags/mysql/" style="font-size: 11px;">mysql</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/openbox/" style="font-size: 10px;">openbox</a> <a href="/tags/pandas%E5%AD%A6%E4%B9%A0/" style="font-size: 10px;">pandas学习</a> <a href="/tags/qemu/" style="font-size: 10px;">qemu</a> <a href="/tags/sftp/" style="font-size: 10px;">sftp</a> <a href="/tags/ssh/" style="font-size: 11px;">ssh</a> <a href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" style="font-size: 17px;">streamlit 框架</a> <a href="/tags/termux/" style="font-size: 19px;">termux</a> <a href="/tags/termux-proot-distro/" style="font-size: 10px;">termux-proot-distro</a> <a href="/tags/termux%E6%A1%8C%E9%9D%A2/" style="font-size: 12px;">termux桌面</a> <a href="/tags/ternux/" style="font-size: 10px;">ternux</a> <a href="/tags/tmux/" style="font-size: 10px;">tmux</a> <a href="/tags/ubtunu%E7%89%88%E6%9C%AC/" style="font-size: 10px;">ubtunu版本</a> <a href="/tags/ubuntu-reWifi/" style="font-size: 10px;">ubuntu-reWifi</a> <a href="/tags/ubuntu%E4%BF%AE%E6%94%B9DNS/" style="font-size: 10px;">ubuntu修改DNS</a> <a href="/tags/ubuntu%E7%BB%8F%E9%AA%8C/" style="font-size: 16px;">ubuntu经验</a> <a href="/tags/vim/" style="font-size: 10px;">vim</a> <a href="/tags/vscode/" style="font-size: 11px;">vscode</a> <a href="/tags/wcode/" style="font-size: 10px;">wcode</a> <a href="/tags/webbrowser-termux/" style="font-size: 10px;">webbrowser termux</a> <a href="/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 13px;">博客</a> <a href="/tags/%E5%BB%BA%E7%AB%99/" style="font-size: 20px;">建站</a> <a href="/tags/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90%E5%9F%BA%E7%A1%80/" style="font-size: 12px;">开关电源基础</a> <a href="/tags/%E6%89%8B%E6%9C%BA%E6%8A%95%E5%B1%8F%E8%BD%AF%E4%BB%B6scrcpy/" style="font-size: 10px;">手机投屏软件scrcpy</a> <a href="/tags/%E6%8D%A2%E6%BA%90/" style="font-size: 11px;">换源</a> <a href="/tags/%E6%8E%A7%E5%88%B6%E5%8F%B0/" style="font-size: 10px;">控制台</a> <a href="/tags/%E6%97%85%E6%B8%B8%E6%94%BB%E7%95%A5/" style="font-size: 11px;">旅游攻略</a> <a href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" style="font-size: 17px;">机器学习</a> <a href="/tags/%E6%9E%81%E7%AE%80%E6%A1%8C%E9%9D%A2/" style="font-size: 10px;">极简桌面</a> <a href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" style="font-size: 15px;">模拟器/虚拟机</a> <a href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" style="font-size: 14px;">系统安装</a> <a href="/tags/%E7%BC%96%E8%BE%91%E5%99%A8/" style="font-size: 14px;">编辑器</a> <a href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" style="font-size: 11px;">虚拟机</a> <a href="/tags/%E8%B6%A3%E8%A8%80/" style="font-size: 13px;">趣言</a> <a href="/tags/%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2/" style="font-size: 11px;">远程桌面</a> <a href="/tags/%E9%9A%8F%E7%AC%94/" style="font-size: 13px;">随笔</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/10/">十月 2022</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/09/">九月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/06/">六月 2022</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/05/">五月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">三月 2022</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/02/">二月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/01/">一月 2022</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/12/">十二月 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">十一月 2021</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/10/">十月 2021</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/09/">九月 2021</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/08/">八月 2021</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/07/">七月 2021</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/06/">六月 2021</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/03/">三月 2021</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/02/">二月 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/01/">一月 2021</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/11/">十一月 2020</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/10/">十月 2020</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/09/">九月 2020</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/08/">八月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/07/">七月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">六月 2020</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/05/">五月 2020</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">四月 2020</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/03/">三月 2020</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/02/">二月 2020</a><span class="archive-list-count">7</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">近期文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2022/10/08/linux-calibrate-screen-colors/">Ubuntu 屏幕颜色校准</a>
          </li>
        
          <li>
            <a href="/2022/10/07/debootstrap2/">debootstrap学习笔记2</a>
          </li>
        
          <li>
            <a href="/2022/10/06/debootstrap1/">debootstrap学习笔记1</a>
          </li>
        
          <li>
            <a href="/2022/10/06/ubuntu-install-wine/">ubuntu安装Wine</a>
          </li>
        
          <li>
            <a href="/2022/09/13/excerpt6/">摘抄2---中国真心不容易</a>
          </li>
        
      </ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">友情链接</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="https://superigbt_superigbt.gitee.io/" target="_blank">My-gitee</a>
          </li>
        
          <li>
            <a href="https://superigbt.github.io/" target="_blank">My-github</a>
          </li>
        
          <li>
            <a href="https://hexo.io/themes/" target="_blank">Hexo主题</a>
          </li>
        
          <li>
            <a href="https://github.com/termux/termux-app/releases" target="_blank">Texmux神器</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
      
    </div>
    <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2022 Frank.Li<br>
      Powered by <a href="//hexo.io/" target="_blank">Hexo</a>
      .
      Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
    </div>
  </div>
</footer>
  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">首页</a>
  
    <a href="/archives" class="mobile-nav-link">按时间</a>
  
    <a href="/about" class="mobile-nav-link">关于我</a>
  
    <a href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94" class="mobile-nav-link">摘抄，随笔</a>
  
    <a href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90" class="mobile-nav-link">开关电源</a>
  
</nav>
  <!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>

<!-- totop end -->


<!-- 百度分享 start -->

<div id="article-share-box" class="article-share-box">
  <div id="bdshare" class="bdsharebuttonbox article-share-links">
    <a class="article-share-weibo" data-cmd="tsina" title="分享到新浪微博"></a>
    <a class="article-share-weixin" data-cmd="weixin" title="分享到微信"></a>
    <a class="article-share-qq" data-cmd="sqq" title="分享到QQ"></a>
    <a class="article-share-renren" data-cmd="renren" title="分享到人人网"></a>
    <a class="article-share-more" data-cmd="more" title="更多"></a>
  </div>
</div>
<script>
  function SetShareData(cmd, config) {
    if (shareDataTitle && shareDataUrl) {
      config.bdText = shareDataTitle;
      config.bdUrl = shareDataUrl;
    }
    return config;
  }
  window._bd_share_config={
    "common":{onBeforeClick: SetShareData},
    "share":{"bdCustomStyle":"/css/bdshare.css"}
  };
  with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='//bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>

<!-- 百度分享 end -->

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>





<script src="/js/script.js"></script>


</div>
</body>
</html>
